import request from '@/utils/request'

// 获取路由
export const getserlistFn = (data) => {
  return request({
    url: '/throttling/serlist',
    method: 'get',
    params: data
  })
}

export const selectlistFn=(sid)=>{
  return request({
    url: '/throttling/getThrottling?sid=' + sid,
    method: 'get'
  })
}

export const updatelistFn=(data)=>{
  return request({
    url: '/throttling/serupdate',
    method: 'post',
    data:data
  })
}
